![]() | Designing Multi-instance Dialogs | Accessing Multi-Instance Data | ![]() |
At runtime, the user can create new instances by clicking the "Add" button. In the following example, both Name and Age are captured by the sub-dialog and displayed on the parent dialog
This will invoke the sub-dialog to allow data to be captured for the new instance.
An added instance will also appear as a row in the SubDialog table of the parent Dialog. The columns represent dialog data items (set at design time).
Another two buttons (Edit & delete) allow existing instances to be edited and deleted.
The text displayed by those buttons can be set at design-time using AddBtnText, DelBtnText and EditBtnText properties of the SubDialog control.